<?php
    $query = "SELECT * FROM groups";
    $found = mysqli_query($dbc, $query) or die("Error");

            while($data = mysqli_fetch_array($found)){
               if($row['Employer'] == $data['Company_Name']){
                echo '<option selected value="'.$data['Company_Name'].
                '">'.$data['Company_Name'].'</option>';
                }else
                echo '<option value="'.$data['Company_Name'].
                '">'.$data['Company_Name'].'</option>';

            }

?>

